/**
 * Copyright (C), 2018-2018, https://blog.fundodoo.com
 * Author:   醉探索戈壁
 * Date:     2018/6/20 下午7:59
 * Description: spring boot2配置文件测试
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.fundodoo.blog.drunk2.properties;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 *
 * @author 醉探索戈壁
 * @create 2018/6/20 下午7:59
 * @since 1.0.0
 */
@Component
@Data
@ToString
@PropertySource("classpath:wings.properties")
@ConfigurationProperties(prefix = "wings")
public class WingsProperties {

    private String wname;
    private String wurl;


}
